package com.ruoyi.agriculture.zs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问答点赞对象 zs_question_like
 * 
 * @author zs
 * @date 2025-07-27
 */
public class ZsQuestionLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题点赞id */
    private Long zsLikeId;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long zsQuestionId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setZsLikeId(Long zsLikeId) 
    {
        this.zsLikeId = zsLikeId;
    }

    public Long getZsLikeId() 
    {
        return zsLikeId;
    }

    public void setZsQuestionId(Long zsQuestionId) 
    {
        this.zsQuestionId = zsQuestionId;
    }

    public Long getZsQuestionId() 
    {
        return zsQuestionId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zsLikeId", getZsLikeId())
            .append("zsQuestionId", getZsQuestionId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
